package com.ruoyi.littleRedBook.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.littleRedBook.domain.pojo.Notification;

import java.util.List;

public interface NotificationService extends IService<Notification> {
    AjaxResult getNotificationList(Integer pageNum, Integer pageSize, Integer type);

    AjaxResult markAsRead(Long id);

    AjaxResult markAllAsRead();

    AjaxResult deleteNotification(Long id);

    AjaxResult getUnreadCount();
}
